<?php

$image = imagecreatetruecolor(100, 25);
$b1=  rand(100, 255);
$b2=  rand(100, 255);
$b3=  rand(100, 255);
$bj=  imagecolorallocate($image, $b1, $b2, $b3);
imagefill($image, 0, 0, $bj);

$c1=  rand(0, 150);
$c2=  rand(0, 150);
$c3=  rand(0, 150);
$zt=  imagecolorallocate($image, $c1, $c2, $c3);
imagechar($image, 5, 15, 4,'a', $zt);

 header ('Content-Type: image/png');
imagepng($image);
imagedestroy($image);




/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

